package org.itstack.demo.design.store;

/**
 * @author wangxinyuchuan
 * @version CommodityTypeEnum.java v1.0 2024/6/18 11:49 wangxinyuchuan Exp $
 */
public enum CommodityTypeEnum {
    CARD(3, "爱奇艺兑换卡"),
    COUPON(1, "优惠券"),
    GOODS(2, "商品");

    private final int code;
    private final String desc;

    CommodityTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
